package com.ruoyi.workflow.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 待办任务对象 taskTodo
 * 
 * @author yuanpingfang
 * @date 2021-04-09
 */
public class TaskTodo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 任务编号 */
    @Excel(name = "任务编号")
    private String taskId;

    /** 任务名称 */
    @Excel(name = "任务名称")
    private String name;

    /** 任务分类 */
    @Excel(name = "任务分类")
    private String auditType;

    /** 流程实例编号 */
    @Excel(name = "流程实例编号")
    private String processInstanceId;

    private String taskStatus;
    private String taskMessage;
    private String taskComment;

    public String getDeleteReason() {
        return deleteReason;
    }

    public void setDeleteReason(String deleteReason) {
        this.deleteReason = deleteReason;
    }

    private String deleteReason;

    public void setTaskId(String taskId) 
    {
        this.taskId = taskId;
    }

    public String getTaskId() 
    {
        return taskId;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setAuditType(String auditType) 
    {
        this.auditType = auditType;
    }

    public String getAuditType() 
    {
        return auditType;
    }
    public void setProcessInstanceId(String processInstanceId) 
    {
        this.processInstanceId = processInstanceId;
    }

    public String getProcessInstanceId() 
    {
        return processInstanceId;
    }

    public String getTaskStatus() {
        return taskStatus;
    }

    public void setTaskStatus(String taskStatus) {
        this.taskStatus = taskStatus;
    }

    public String getTaskMessage() {
        return taskMessage;
    }

    public void setTaskMessage(String taskMessage) {
        this.taskMessage = taskMessage;
    }

    public String getTaskComment() {
        return taskComment;
    }

    public void setTaskComment(String taskComment) {
        this.taskComment = taskComment;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("taskId", getTaskId())
            .append("name", getName())
            .append("auditType", getAuditType())
            .append("processInstanceId", getProcessInstanceId())
            .append("createTime", getCreateTime())
            .toString();
    }
}
